﻿using System;
using System.Collections.Generic;

namespace Questionnaire.Data.Models
{
    public partial class Questionnaire
    {
        public Questionnaire()
        {
            Question = new HashSet<Question>();
            Tourist = new HashSet<Tourist>();
        }

        public int QuestionnaireId { get; set; }
        public string Name { get; set; }
        public DateTime CreateTime { get; set; }
        public int FillNumber { get; set; }
        public bool IsHang { get; set; }
        public bool IsDelete { get; set; }
        public DateTime? BeginTime { get; set; }
        public DateTime? EndTime { get; set; }
        public int Serial { get; set; }
        public int UserId { get; set; }
        public string Describe { get; set; }

        public virtual ICollection<Question> Question { get; set; }
        public virtual ICollection<Tourist> Tourist { get; set; }
        public virtual User User { get; set; }
    }
}
